<!DOCTYPE html>
<html lang="en" xmlns:th="https://www.thymeleaf.org/">
<head>
    <meta charset="UTF-8">
    <title>用户订单</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/table.css}">
</head>
<body>
<div class="title">尊敬的用户<span class="user" th:text="${name}"></span>，您的订单是：</div>
<table border="1">
    <tr>
        <td>商品号</td>
        <td>商品价钱</td>
        <td>是否删除订单</td>
    </tr>
</table>
<table th:each="order:${order_list}" border="1">
    <tr>
        <td th:text="${order.aucId}"></td>
        <td th:text="${order.totalPrice}"></td>
        <td><a th:href="@{/user_del(aucId=${order.aucId},user=${name})}">删除</a></td>
    </tr>
</table>
<a th:href="@{/user_shop(user=${name})}">商店</a>
<span>您未交的账单是：</span><br>
<button onclick=""></button>
</body>
</html>